﻿using System.Windows.Controls;
using FanaticRock.Core.Extensions;
using FanaticRock.Core.Interfaces;

namespace FanaticRock.Views.Main
{

    /// <summary>
    /// MainHostView.xaml 的交互逻辑
    /// </summary>
    public partial class MainHostView : UserControl,ILogger
    {
        public MainHostView()
        {
            InitializeComponent();
            PART_Frame.Navigated += PART_Frame_Navigated;
        }

        private void PART_Frame_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e)
        {
            this.Info(e.Uri);
        }
    }
}
